home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / ghostscript / 8.64 / lib / decrypt.ps < prev    next >
Encoding:
Text File  |  2009-04-17  |  350 b   |  16 lines

  1. %!
  2. % Decrypt an eexec-encoded file.
  3. % $Id: decrypt.ps 6300 2005-12-28 19:56:24Z giles $
  4.  
  5. (t.in) (r) file /in exch def
  6. (t.out) (w) file /out exch def
  7. 256 string /buf exch def
  8. 55665        % eexec encryption seed
  9.  { in buf readhexstring /more exch def
  10.    dup .type1decrypt out exch writestring
  11.    more not { exit } if
  12.  } loop
  13. in closefile
  14. out closefile
  15. quit
  16.